home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 12 / Amiga Format AFCD12 (Apr 1997, Issue 96).iso / -readerstuff- / manolis_pappas / mathfx / examples / position.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-29  |  541 b   |  22 lines

  1. /* Demonstration program for MathFX illustrating absolute positioning */
  2. /* of graphs on a page */
  3. /* Copyright (©) 1995, The Xperts Group Inc. All Rights Reserved. */
  4. /* Author: Manolis S Pappas. */
  5.  
  6. main()
  7. {
  8.       fxstar(1,1);
  9.  
  10.       fxadv(0);
  11.       fxvpor(0.0,1.0,0.0,1.0);
  12.       fxwind(0.0,1.0,0.0,1.0);
  13.       fxbox("bc",0.0,0,"bc",0.0,0);
  14.  
  15.       fxsvpa(50.0,150.0,100.0,150.0);
  16.       fxwind(0.0,1.0,0.0,1.0);
  17.       fxbox("bc",0.0,0,"bc",0.0,0);
  18.       fxptex(0.5,0.5,1.0,0.0,0.5,"Positioning Box at (50,150,100,150)");
  19.  
  20.       fxend();
  21. }
  22.